package Test;

import junit.framework.Assert;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

import Command.Delete;
import Command.Insert;

public class TestDelete {

	@Test
	public void testExecuteQuery()
	{		
		Delete delCmd = new Delete("delete from NhanVien where MaNV>=328");
		delCmd.setDbName("DB_Test");
		Object actual1 = delCmd.executeQuery();		
		Assert.assertEquals("TC 1 cleaner", "Delete 4 row(s) !" , actual1);		
	}
}
